/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Microsoft YaHei', monospace;
    background-color: #000;
    color: #00ffcc;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2) saturate(0.8);
}

.video-background .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

/* 透明背景图片样式 */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* 降低透明度，原值0.35 */
    z-index: 2;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* 扫描线效果 */
.scan-line {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.2), transparent); /* 降低透明度，原值0.6 */
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3); /* 降低透明度，原值0.7 */
    animation: scan 8s linear infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: -10%;
    }
    100% {
        top: 110%;
    }
}

/* 网格背景 */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 120, 120, 0.1) 1px, transparent 1px), /* 降低透明度，原值0.2 */
        linear-gradient(90deg, rgba(0, 120, 120, 0.1) 1px, transparent 1px); /* 降低透明度，原值0.2 */
    background-size: 40px 40px;
    background-position: 0 0;
    pointer-events: none;
    z-index: -1;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* 粒子效果容器 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: rgba(0, 255, 204, 0.3); /* 降低透明度，原值0.7 */
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

/* 主容器 - 透明悬浮 */
.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 10, 20, 0.7) 0%, rgba(0, 20, 30, 0.5) 100%);
    backdrop-filter: blur(3px);
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(90deg, rgba(0, 30, 30, 0.8) 0%, rgba(0, 40, 40, 0.9) 50%, rgba(0, 30, 30, 0.8) 100%);
    border-bottom: 1px solid rgba(0, 255, 204, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
    z-index: 100;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.15), transparent);
    animation: headerScan 3s linear infinite;
}

@keyframes headerScan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #00ffcc;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.8);
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.header-subtitle {
    font-size: 0.85rem;
    color: #00a0a0;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.time-display, .status-display {
    background-color: rgba(0, 20, 30, 0.8);
    color: #00ffcc;
    padding: 8px 15px;
    border-radius: 0;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.3);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
    transition: all 0.3s ease;
}

.time-display::after, .status-display::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.2), transparent);
    transform: translateX(-100%);
    animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.status-display.online {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    border-color: #00ff00;
}

.status-display.offline {
    color: #ff3333;
    text-shadow: 0 0 8px rgba(255, 51, 51, 0.8);
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.3);
    border-color: #ff3333;
}

/* 导航样式 */
.navigation {
    background: linear-gradient(90deg, rgba(0, 25, 30, 0.9) 0%, rgba(0, 35, 40, 0.8) 50%, rgba(0, 25, 30, 0.9) 100%);
    padding: 0 30px;
    border-top: 1px solid rgba(0, 255, 204, 0.4);
    border-bottom: 1px solid rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.15);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.navigation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.12), transparent);
    animation: navScan 4s linear infinite;
    animation-delay: 1s;
}

@keyframes navScan {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.nav-tabs {
    display: flex;
    list-style: none;
    height: 55px;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.nav-item {
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: #00a0a0;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    font-weight: 500;
}

.nav-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.nav-item:hover::before {
    transform: translateX(100%);
}

.nav-item:hover {
    color: #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.8);
}

.nav-item.active {
    color: #00ffcc;
    border-bottom: 3px solid #00ffcc;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.8);
}

.nav-item.active::before {
    transform: translateX(100%);
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15), transparent);
}

/* 主要内容区域 */
.main-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* 内容区域样式 */
.content-section {
    flex: 1;
    overflow-y: auto;
    padding: 25px 30px;
    background: radial-gradient(circle at center, rgba(0, 20, 30, 0.6) 0%, rgba(0, 10, 20, 0.8) 100%);
    position: relative;
    backdrop-filter: blur(5px);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 204, 0.4) rgba(0, 30, 40, 0.5);
}

/* 自定义滚动条 */
.content-section::-webkit-scrollbar {
    width: 8px;
}

.content-section::-webkit-scrollbar-track {
    background: rgba(0, 30, 40, 0.5);
    border-left: 1px solid rgba(0, 255, 204, 0.2);
}

.content-section::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 204, 0.4);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.content-section::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 204, 0.6);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.module-card {
    background: rgba(0, 25, 35, 0.75);
    border-radius: 4px;
    padding: 25px;
    border: 1px solid rgba(0, 255, 204, 0.25);
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.15);
    position: relative;
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.module-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffcc, transparent);
    z-index: 1;
}

.module-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 255, 204, 0.05) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.8s ease-in-out;
    pointer-events: none;
}

.module-card:hover {
    transform: translateY(-5px) translateZ(5px);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.25);
    border: 1px solid rgba(0, 255, 204, 0.4);
}

.module-card:hover::after {
    transform: translateX(100%);
}

.module-card h3 {
    color: #00ffcc;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.3);
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.6);
    position: relative;
    font-weight: 600;
}

.module-card h3::before {
    content: ">";
    margin-right: 10px;
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.8);
}

/* 信息展示样式 */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: rgba(0, 20, 30, 0.5);
    border-left: 3px solid transparent;
    border-radius: 0 4px 4px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.info-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00ffcc, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.info-item:hover {
    background: rgba(0, 20, 30, 0.7);
    border-left: 3px solid #00ffcc;
    transform: translateX(5px);
}

.info-item:hover::before {
    opacity: 1;
}

.info-item:hover::after {
    transform: translateX(100%);
}

.info-label {
    color: #00a0a0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.info-value {
    color: #00ffcc;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    font-size: 0.95rem;
}

/* 控制按钮样式 */
.control-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.control-btn {
    background: rgba(0, 25, 35, 0.7);
    color: #00a0a0;
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 14px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.control-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.control-btn:hover::before {
    transform: translateX(100%);
}

.control-btn:hover {
    background: rgba(0, 40, 50, 0.8);
    color: #00ffcc;
    border-color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
    transform: translateY(-3px);
}

.control-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

/* 开关样式 */
.switch-grid {
    display: grid;
    gap: 18px;
}

.switch-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 20, 30, 0.5);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.switch-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.05), transparent);
    pointer-events: none;
}

.switch-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.switch-item:hover {
    background: rgba(0, 25, 35, 0.7);
    transform: translateX(5px);
}

.switch-item:hover::after {
    transform: translateX(100%);
}

.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 30, 40, 0.8);
    transition: .4s ease;
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 28px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 3px;
    background-color: #00a0a0;
    transition: .4s ease;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 160, 160, 0.7);
}

input:checked + .slider {
    background-color: rgba(0, 50, 60, 0.9);
    border-color: #00ffcc;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.4);
}

input:checked + .slider:before {
    background-color: #00ffcc;
    transform: translateX(27px);
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.8);
}

/* AI控制样式 */
.ai-control {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ai-btn {
    background: rgba(0, 25, 35, 0.7);
    color: #00a0a0;
    border: 1px solid rgba(0, 255, 204, 0.3);
    padding: 14px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.ai-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.ai-btn:hover::before {
    transform: translateX(100%);
}

.ai-btn:hover {
    background: rgba(0, 40, 50, 0.8);
    color: #00ffcc;
    border-color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
    transform: translateY(-3px);
}

.voice-command-status, .ai-result {
    padding: 12px 15px;
    background-color: rgba(0, 20, 30, 0.7);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 4px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.voice-command-status::after, .ai-result::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.voice-command-status:hover::after, .ai-result:hover::after {
    transform: translateX(100%);
}

/* 聊天样式 */
.ai-chat {
    display: flex;
    flex-direction: column;
    height: 280px;
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    background-color: rgba(0, 15, 25, 0.7);
    padding: 15px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 4px 4px 0 0;
    font-size: 0.9rem;
    position: relative;
    backdrop-filter: blur(5px);
}

.chat-history::-webkit-scrollbar {
    width: 6px;
}

.chat-history::-webkit-scrollbar-track {
    background: rgba(0, 30, 40, 0.5);
    border-radius: 3px;
}

.chat-history::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 204, 0.4);
    border-radius: 3px;
}

.message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    position: relative;
    background: rgba(0, 25, 35, 0.5);
}

.message.system {
    color: #00ffcc;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    border-left: 3px solid #00ffcc;
}

.message.user {
    color: #00aaff;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.6);
    border-left: 3px solid #00aaff;
}

.message.ai {
    color: #ff00ff;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.6);
    border-left: 3px solid #ff00ff;
}

.chat-input {
    display: flex;
    gap: 12px;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 4px 0 0 4px;
    border: 1px solid rgba(0, 255, 204, 0.3);
    background-color: rgba(0, 15, 25, 0.7);
    color: #00ffcc;
    font-family: 'Orbitron', monospace;
    transition: all 0.3s ease;
}

.chat-input input:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
}

.chat-input button {
    background: rgba(0, 25, 35, 0.7);
    color: #00a0a0;
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-left: none;
    padding: 0 24px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.chat-input button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.chat-input button:hover::before {
    transform: translateX(100%);
}

.chat-input button:hover {
    background: rgba(0, 40, 50, 0.8);
    color: #00ffcc;
    border-color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
}

/* 数据展示样式 */
.data-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.data-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(0, 20, 30, 0.5);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.data-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #00ffcc, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.data-item:hover {
    background: rgba(0, 25, 35, 0.7);
    transform: translateX(5px);
}

.data-item:hover::before {
    opacity: 1;
}

.data-item:hover::after {
    transform: translateX(100%);
}

.data-label {
    color: #00a0a0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.data-value {
    color: #00ffcc;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.6);
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .module-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .navigation {
        padding: 12px 15px;
    }
    
    .nav-item {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 900px) {
    .module-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .status-display {
        margin-top: 0;
        font-size: 0.85rem;
    }
    
    .navigation {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-item {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .main-content {
        padding: 15px;
        margin-top: 20px;
    }
    
    .content-section h2 {
        font-size: 1.2rem;
        padding: 12px 15px;
    }
    
    .chat-history {
        font-size: 0.85rem;
    }
    
    .ai-btn, .chat-input button {
        font-size: 0.75rem;
        padding: 12px 15px;
    }
}

@media (max-width: 600px) {
    .header h1 {
        font-size: 1.3rem;
    }
    
    .status-display {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .module-card {
        padding: 15px;
    }
    
    .info-item, .data-item, .switch-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .ai-chat {
        height: 250px;
    }
    
    .control-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* 动画关键帧 */
@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 255, 204, 0.8);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 255, 204, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 204, 0.8);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 20px 20px;
    }
}

/* 通知样式 */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, rgba(0, 30, 40, 0.9), rgba(0, 15, 25, 0.9));
    color: #00ffcc;
    padding: 12px 20px;
    border: 1px solid #00ffcc;
    border-radius: 4px;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
    backdrop-filter: blur(10px);
    animation: slideIn 0.5s ease-out;
    transition: all 0.5s ease;
}

.notification.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

/* 噪声覆盖层样式 */
.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* 粒子效果样式 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #00ffcc, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.8);
    transition: opacity 1s ease-out;
}

/* 增强的交互反馈 */
.control-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.8) !important;
}

/* 数据加载状态 */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.2), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    100% {
        left: 100%;
    }
}